package com.prj.ufdm.file.model;

import java.util.List;

/**
 * DESC: 整体文件信息
 * @author Administrator
 */
public class WholeFile {
	
	private String id;
	//
	private String wholeFileId;
	// 文件名
	private String fileName;
	// 别名
	private String aliases;
	// 文件类型
	private String fileType;
	//
	private String contentType;
	// 文件Hash
	private String fileHash;
	// 文件大小
	private String fileSize;
	// 切分块数
	private String chunkCount;
	// 块大小
	private String chunkSize;
	// 文件状态(0 上传中  1 上传成功)
	private String fileStatus;
	// 切块文件
	private List<ChunkFile> listChunkFile;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public String getFileHash() {
		return fileHash;
	}
	public void setFileHash(String fileHash) {
		this.fileHash = fileHash;
	}
	public String getFileSize() {
		return fileSize;
	}
	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}
	public String getChunkSize() {
		return chunkSize;
	}
	public void setChunkSize(String chunkSize) {
		this.chunkSize = chunkSize;
	}
	public String getFileStatus() {
		return fileStatus;
	}
	public void setFileStatus(String fileStatus) {
		this.fileStatus = fileStatus;
	}
	public String getChunkCount() {
		return chunkCount;
	}
	public void setChunkCount(String chunkCount) {
		this.chunkCount = chunkCount;
	}
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getAliases() {
		return aliases;
	}
	public void setAliases(String aliases) {
		this.aliases = aliases;
	}
	
	public List<ChunkFile> getListChunkFile() {
		return listChunkFile;
	}
	public void setListChunkFile(List<ChunkFile> listChunkFile) {
		this.listChunkFile = listChunkFile;
	}
	
	public String getWholeFileId() {
		return wholeFileId;
	}
	public void setWholeFileId(String wholeFileId) {
		this.wholeFileId = wholeFileId;
	}
	
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	
	@Override
	public String toString() {
		return "WholeFile [id=" + id + ", wholeFileId=" + wholeFileId + ", fileName=" + fileName + ", aliases="
				+ aliases + ", fileType=" + fileType + ", contentType=" + contentType + ", fileHash=" + fileHash
				+ ", fileSize=" + fileSize + ", chunkCount=" + chunkCount + ", chunkSize=" + chunkSize + ", fileStatus="
				+ fileStatus + ", listChunkFile=" + listChunkFile + "]";
	}
	
}
